package com.leenmvc.core.security.service.core;

import com.leenmvc.core.base.BaseService;
import com.leenmvc.core.dao.communal.Wrapper;
import com.leenmvc.core.security.User;
import com.leenmvc.core.security.entity.core.SysLogSql;
import com.leenmvc.core.web.PageData;
import org.springframework.stereotype.Service;

@Service
public class SysLogSqlService extends BaseService<SysLogSql> {


    @Override
    public <T> PageData<T> getPage(Wrapper wrapper) {
        wrapper.eq("username", User.getUsername());
        return super.getPage(wrapper);
    }

}